Nanocomposite photonic glasses, waveguiding glass ceramics and confined structures tailoring Er3+ spectroscopic properties