Conformational analysis by photoelectron spectroscopy