Juventus and Italy great Gianluigi Buffon has announced his retirement from professional football at the age of 45.