X-ray-induced color centers in MgO