US spreads-to-coffee group JM Smucker has booked an increase in full-year earnings, boosted by price cuts in its coffee division.