The rise and fall of the Abdali state of Herat in early 18th century