Equilibrium configuration of an N2 monolayer adsorbed on graphite