Design of wide-angle photonic crystal waveplates