US dairy firm Land O'Lakes has recorded an increase in annual profits despite mixed results from its dairy foods division, which booked "record" sales but lower earnings.