X-ray absorbing glasses