Structural properties and the effect of interaction of alkali (Li+, Na+, K+) and alkaline earth (Be2+, Mg2+, Ca2+) metal cations with G and SG-tetrads