Surface order reconstruction in nematics