X-shaped waves in photonic crystals