Battling retailer Marks & Spencer has announced plans to sell its French stores to Groupe Galeries Lafayette - providing it gets the go-ahead from staff.