Electrical properties and stoichiometry in La2NiO4