Relations among nonbridging oxygen, optical properties, optical basicity, and color center formation in CaO–MgO aluminosilicate glasses