Visible and infrared spectroscopy of Pr3+ and Tm3+ ions in lead borate glasses