Thermally switchable flexible liquid crystal devices in prepolymer-doped cholesteric liquid crystals