Iran official: death toll in train collision increases to 31