Ford to cut 800 UK jobs over three years as part of a wider European restructuring to focus on electric vehicles and reduce costs.