Text this: Controlling quantum resonances in photonic crystals and thin films with electromagnetically induced transparency