As its self-styled "caliphate" crumbles, militants from the group Islamic State (IS) are being driven out of areas of Iraq and Syria by local and international fighting forces. What they leave behind is a trail of crude weapons and evidence of the human misery they inflicted.