Development of advanced silicon radiation detectors for high energy physics and medical imaging