Photonic crystal light trapping for photocatalysis