Observation and spin-parity determination of the X(1835) in J/ψ → γK0SK0Sη