Structure and orientational ordering of nitrogen molecules physisorbed on graphite