X-ray sensors