H-invariance, imbedding ghost, and strings with extrinsic curvature