Atomic geometry and electronic structure of defects in Zn3N2