Silicon Detectors for gamma-ray and beta-spectroscopy