Impact of treatment success on health service use and cost in depression: longitudinal database analysis