Spectral bandits for smooth graph functions with applications in recommender systems