Robot apparatus and operation control method