Collective Brands swings to Q2 profit