Spectroscopic properties of Er3+-activated Ag-exchanged silicate and phosphate glasses