Spanish Prime Minister Pedro Sanchez has gone into isolation after meeting in recent days with French President Emmanuel Macron who caught COVID-19.