Ecolab posts higher-than-expected quarterly profits