A study for the detection of ionizing particles with phototransistors on thick high-resistivity silicon substrates