Force control of an industrial robot with adaptive compensation of the environment stiffness