Parametrization of the friction constant for stochastic simulations of polymers