where does nz longest river flow?