Superconductivity and antiferromagnetism in La2−xSrxNiO4