India beat New Zealand by six runs, pocket series 2-1