Planck 2018 results: II. Low Frequency Instrument data processing