Quality of life changes following inpatient and outpatient treatment in obsessive-compulsive disorder: a study with 12 months follow-up