David Beckham has hailed "father figure" Sir Alex Ferguson as the greatest manager in football, after the Scot announced his retirement on Wednesday.