Planck intermediate results: XL. the Sunyaev-Zeldovich signal from the Virgo cluster