French President Emmanuel Macron has vowed to restore the centuries-old Notre Dame Cathedral within five years after a huge fire destroyed its roof and spire.