A molecular dynamics study of vibrational relaxation in a diatomic molecular liquid