OfficeMax swings to a profit in Q2