Effects of pressure and doping on Ruddlesden-Popper phases La+1Ni O3+1