Molecules in an electric field. Model for molecular geometry