Former Liverpool, Paris Saint-Germain, and France centre-back Mamadou Sakho has announced his retirement from professional football at the age of 35.