Ann Taylor swings to profit in Q2