CVS, Walgreens to pay $10B in opioid settlements