Superconductivity and magnetic properties in antiperovskite nitride ZnNNi3