A Gamified Smartphone-Based Intervention for Depression: Randomized Controlled Pilot Trial