Dry fermentation of agricultural residues