Defect mode suppression in a photonic crystal structure with a resonance nanocomposite layer