Observation of the rare decay K S to pi0 e+ e-