cost-effective pain medication