Bioactive and antibacterial glasses and glass-ceramics