How a pharma giant made pain sufferers spend more