Two stage gamma–neutron source classification in water Cherenkov detectors: Energy threshold screening and machine learning pulse analysis