Brook, Pope rescue England after collapse as NZ squander chances