Tuning the Electronic and Magnetic Properties of O Vacancy and Nonmetallic Atoms Doped Monolayer Sno: A First-Principles Study