Continental has said it will close two European tyre factories - one specialising in CV tyres in Germany and another in France.