Planck 2013 results. VI. High Frequency Instrument data processing