CdS photoluminescence inhibition by a photonic structure