Captain Alastair Cook says England paid the price for not putting enough runs on the board in their five-wicket loss to New Zealand at Lord's.