X-ray responsiveness of sol–gel-derived glasses doped with rare-earth ions