Effects of operation conditions on pyrolysis characteristics of agricultural residues