Nd3+ and Pr3+ doped inorganic scintillators