Theoretical investigation of the rotational barrier in allyl and 1,1,3,3-tetramethylallyl ions