Contextual Thompson Sampling via Generation of Missing Data