French President Emmanuel Macron has promised to hold a referendum, on whether to enshrine action against climate change in the constitution.