Optical properties and laser action in one-dimensional periodic dielectrics containing liquid crystal as defect layer