Timing function of the frontal cortex in sequential motor and learning tasks.