Silicon Drift Detectors and CUBE Preamplifiers for High-Resolution X-ray Spectroscopy