Planck 2018 results: II. Low frequency instrument data processing