Encoding behavioral context in recurrent networks of the fronto-striatal system: a simulation study