Poly(3-hexylthiophene-2,5-diyl) based diodes for ionizing radiation dosimetry applications