how negative thinking increases pain