Understanding the link between mental defeat and chronic pain