Influence of inelastic collisions with hydrogen atoms on the non-local thermodynamic equilibrium line formation for Fe I and Fe II in the 1D model atmospheres of late-type stars