IBM says profit, revenue fell but raises expectations for year