Pathways of the North Pacific Intermediate Water identified through the tangent linear and adjoint models of an ocean general circulation model