Dynamics of a femtosecond/picosecond laser-induced aluminum plasma out of thermodynamic equilibrium in a nitrogen background gas