At least 28 people have died after a bus carrying Shia pilgrims from Pakistan overturned in Iran's Yazd province.