Jimmy Neesham claimed a five-wicket ODI haul as New Zealand beat Afghanistan by seven wickets in the Cricket World Cup.