Characterization of a gamma spectroscopy tool for humanitarian demining