How did nationalism play a part in Europe’s competition to colonize Africa and Asia?