Investigation of the role of silver on spectroscopic features of Er3+ activated Ag-exchanged silicate and phosphate glasses