Dynamics of boron nanoclusters in RB12 (R = Yb, Lu) systems