Er-doped lead borate glasses and transparent glass ceramics for near-infrared luminescence and up-conversion applications.