Area x-ray detector based on a lens-coupled charge-coupled device