Planck 2013 results. XXXI. Consistency of the planck data