Optical properties of one-dimensional photonic crystal with a twisted-nematic defect layer.