US spice maker McCormick & Co has reported higher quarterly earnings, boosted by strong sales growth and higher profit margins.