Photonic crystal waveguides for particle acceleration