Model Selection in Stochastic Bandit Algorithms