New Zealand suffered their third consecutive home defeat as England triumphed by eight wickets in the Christchurch Test.