Poncelet theorem and Painlevé VI