Studies on the local structure and the spin Hamiltonian parameters for the trigonal Mn2+ center in Bi4Ge3O12