Effect of electron doping on the magnetic properties and electronic structures of Ba2MnMoO6