Walgreens' June sales beat expectations