Thin polycrystalline diamond for low-energy x-ray detection