A silicon drift detector-CMOS front-end system for high resolution X-ray spectroscopy up to room temperature