Plane wave expansion method used to engineer photonic crystal sensors with high efficiency.