Molecular structure by diffraction methods