Managed care and patient ratings of the quality of specialty care among patients with pain or depressive symptoms