Autler–Townes doublet and electromagnetically induced transparency resonance probed by an ultrashort pulse train