Theory of slow light excitation in 1D photonic crystals