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