Planck intermediate results. IX. Detection of the Galactic haze with Planck