Er3+-activated SiO2-based glasses and glass-ceramics: from structure to optimisation