The adsorption of atomic nitrogen on Ru(0001): geometry and energetics