Deere & Co. swings to profit in Q4