Many AI products claim to deliver mental health therapy, but with little quality control. But new research suggests with the right training, AI can be effective at helping people.