A large-area monolithic array of silicon drift detectors for medical imaging