Measurement of CP Violation in B0 → J/ψ K0S and B0 → ψ(2S) K0S Decays