Offline-to-online hyperparameter transfer for stochastic bandits