Influence of reducing-oxidizing conditions on the optical properties of Co(2+)-doped magnesium aluminosilicate glass ceramics and their use as an effective saturable absorber Q switch.