Planck 2018 results. III. High Frequency Instrument data processing and frequency maps