pain relief in ancient times