Temperature independent quantum logic for molecular spectroscopy