Monolithic integration of Si-PIN diodes and n-channel double-gate JFET's for room temperature X-ray spectroscopy