High energy-resolution transient ghost absorption spectroscopy