Psychosocial factors associated with pain outcomes in patients with painful temporomandibular disorders and headaches.