Alastair Cook was impressed with how his side reacted in the series win against New Zealand after losing the opening ODI.