Intervalence charge transfer in Pr3+- and Tb3+-doped double tungstate crystals KRE(WO4)2 (RE = Y, Gd, Yb, Lu)