Luminescence and optical absorption properties of Nd3+ ions in K–Mg–Al phosphate and fluorophosphate glasses