Magnetic properties of rhenium disulfide (ReS2) monolayer doped with different nonmetal atoms