Dipole moments and the determination of molecular structure