Finite-field many-body perturbation theory. X. Electric field gradients and other properties of N2