GEM-based detectors for thermal and fast neutrons