Planck early results. XXIII. The first all-sky survey of Galactic cold clumps