Optical properties of rare earth trifluorides