Compression of ultrashort light pulses in photonic crystals: when envelopes cease to be slow