Characteristics of people using mental health services and prescription medication