Electric dipole moments and conformations of isolated peptides