Influence of P2O5 and Al2O3 content on the structure of erbium-doped borosilicate glasses and on their physical, thermal, optical and luminescence properties