US spice maker McCormick & Co has reported higher quarterly profit, helped by increased sales due to recent acquisitions.