Harry Brook's sensational century helped rescue England from 56/6 to 223 in the first ODI against New Zealand.