The Iraqi Kurds were captured by a militia who demanded a ransom of $5,000 (£3,700) per person.