Electrical and spectroscopic analysis of neutron-irradiated silicon detectors