the history of pain