Does community care work? A model to evaluate the effectiveness of mental health services