Dissociable cognitive mechanisms underlying human path integration