Mapping the emergence of the Islamic State in Afghanistan