Light-induced orientational effects in periodic photonic structures with pure and dye-doped nematic liquid crystal defects