Former Premier League midfielder Yossi Benayoun has retired from professional football at the age of 38.