Femtosecond imbalanced time-stretch spectroscopy for ultrafast gas detection