The structure of overlayers: III. Nitrogen on Mo {001}