Theoretical studies of the spin dynamics of quadrupolar nuclei at rotational resonance conditions