An old-fashioned antidepressant that isn’t addictive can be a better choice than sleeping pills in the longer term