Novak Djokovic has replaced Rafael Nadal at the top of the world tennis rankings after beating Roger Federer at Wimbledon and described it as the highlight of his career.