First principle investigations of structural, electronic, and optical properties of N‐ and Sn‐doped MgSiP2