Experimental characterization of semiconductor-based thermal neutron detectors