Complex δ-dependence of electrical and magnetic properties of La2NiO4+δ