Probing photonic effect on photocatalytic degradation of dyes based on 3D inverse opal ZnO photonic crystal