First-principles study on the electronic and magnetic properties of InN nanosheets doped with 2p elements