The mathematical structure of reversal learning in a shock-escape T-maze: Overtraining and successive reversals