Effect of nominal composition on the superconductivity in La2CuO4-y.