Dexterous reconfiguration of a two-arm robot system