Quantum Electrodynamics and Relativistic Corrections of the g-Factor and Hyper Fine Structure Splitting in Li- and B-like Ions