Semiconductor detectors for neutron flux measurements