Kolmogorov's three-series theorem