Deere reports sales and earnings gains