Optical properties of a nematic twist cell