Spectroscopic determination of ground and excited state vibrational potential energy surfaces