Locally grown, globally connected: armed group affiliation with the Islamic State and al-Qaeda