The Language Theory of Bounded Context-Switching