Pakistan score first ODI series victory over New Zealand in 12 years