Community-based mental health care: to what extent are service costs associated with clinical, social and service history variables?