Sensorimotor processing in the basal ganglia leads to transient beta oscillations during behavior