Penford Swings to Profit in Q2