A ray-optical analysis of thin-film polarization converters