Quantification of rats' behavior during reinforcement periods