Large magnetic entropy change associated with the weakly first-order paramagnetic to ferrimagnetic transition in antiperovskite manganese nitride CuNMn3