Photoemission and theoretical studies of the electronic structure of molecular nitrogen on nickel