Helle Thorning-Schmidt trak sit kandidatur på opfordring fra Herman von Rompuy, siger EU-præsident i tale.