Monolithic arrays of silicon drift detectors for medical imaging applications and related CMOS readout electronics