Do we still need beds for psychiatric patients? An analysis of changing patterns of mental health care.