Model Selection for Generic Contextual Bandits