Performance of a medium-size area nGEM detector for neutron beam diagnostics