Planck intermediate results: LII. Planet flux densities