US dairy firm Land O'Lakes said it recorded "solid" sales and "strong" earnings in the third quarter.