Fabrication of PIN diode detectors on thinned silicon wafers