Pressure effects on out-of-plane resistivity in La2−xSrxCuO4