Confidence intervals for the Kaplan-Meier estimator