A theory of vibrational energy relaxation in liquids