Thermal lensing in heavy metal fluoride glasses