Statistics for Planck 2018 results: VI. Cosmological parameters