A Monolithic Array of 77 Silicon Drift Detectors for X-Ray Spectroscopy and Gamma-Ray Imaging Applications