Planck 2013 results. VI. high frequency instrument data processing