Islamic terrorism and domestic mass shootings may be caused by the exact same psychological phenomenon