Variable admittance control preventing undesired oscillating behaviors in physical human-robot interaction