New Zealand beat India by 87 runs in 5th ODI