Magnetic properties of SnSe monolayer doped by transition-metal atoms: A first-principle calculation