Red luminescence induced by intervalence charge transfer in Pr3+-doped compounds