Characterization of a GEM-based fast neutron detector