Q-Learning: A Data Analysis Method for Constructing Adaptive Interventions