Brain wave recordings predict whether antidepressants will work