CVS and Walgreens agree to pay $10bn to settle opioids lawsuits