Pain and self-assessed health: does the association vary by age?