AI predicts effective depression treatment based on brainwave patterns