Infrared matrix and theoretical studies of the reduction of molecular nitrogen by lithium atoms