Redundancy resolution in human-robot co-manipulation with cartesian impedance control