Europe should reopen its treaties on migration and defence, French leader Emmanuel Macron has said, calling for an EU "renaissance" amid the "danger" posed by nationalists.