Bairstow ton helps England win series against NZ