Djokovic edges Nadal to win historic Australian Open final