Walgreens agrees to be acquired by private equity firm for almost $10 billion