Alastair Cook put England's opening ODI defeat in New Zealand down to a gutsy contribution from Martin Guptill.