Feel-Good Thompson Sampling for Contextual Bandits and Reinforcement Learning (SIAM journal on mathematics of data science, 2022)