France President Emmanuel Macron says the door remains open for Britain to stay in the European Union as long as Brexit negotiations continue.