Jones Group swings to Q2 loss