Precise measurement of magnetic moment of short-lived β-emitting nuclei12B (Iπ=1+,T1/2=20.18 ms)