Antibacterial and biocompatible silver-containing glasses and glass-ceramics