Development of a detector based on Silicon Drift Detectors for gamma-ray spectroscopy and imaging applications