Vettori calls time on NZ test captaincy with series loss