Adverse effects of painful diagnostic tests: mechanisms and moderators