Ford posts $561 million second-quarter profit amid chip shortage, high demand