Ford posts lower profit and trims its full-year outlook