Former Romania international Cristian Chivu has confirmed his retirement from football after leaving Inter Milan.