Walgreens to close 1,200 stores over next three years