Thermal population of the 4f15d1 state in BaSO4:Pr3+