International Flavors & Fragrances posts quarterly loss as costs rise