Afghanistan flash flooding kills 31 as more rain expected