Djokovic beats Nadal to win Wimbledon title