Mechanisms of within-session sequential behavior in pigeons