High resolution infrared spectroscopy: Some new approaches and applications to planetary atmospheres