General Motors has agreed to sell its European business - the German Opel and British Vauxhall brands - to PSA, which will become Europe’s second-biggest car maker in terms of sales.