Pain modulation and the action of analgesic medications