Facilitating access to voluntary and community services for patients with psychosocial problems: a before-after evaluation