High resolution diode laser and heterodyne spectroscopy with applications toward remote sensing