Effects of substituting P2O5 for B2O3 on the thermal and optical properties of sodium borophosphate glasses doped with Er