Outcome of a three-phase treatment algorithm for inpatients with melancholic depression