UPS delivers a warning on economy and earnings