Analogical transfer in sequence learning. Human and neural-network models of frontostriatal function