why did nationalism emerge after the French Revolution