GM agrees to sell Opel, Vauxhall to PSA