Tunable transmission of a nematic liquid crystal as defect in a 1D periodic structure of dielectric materials by orientation and re-orientation of liquid crystal molecules