Effects of nuclear symmetry energy and in-medium NN cross section in heavy-ion collisions at beam energies below the pion production threshold