Peanut butter and jelly maker JM Smucker has posted a leap in quarterly earnings, which were boosted by the integration of its Folgers coffee business and improved margins.