A unified theory of pain