A photonic crystal-based CdS–Au–WO3 heterostructure for efficient visible-light photocatalytic hydrogen and oxygen evolution