Tacking against rough economic winds, Walgreens ups second-quarter earnings