Number of illness episodes as predictor of residual symptoms in major depressive disorder