Novak Djokovic outlasts Daniil Medvedev in marathon match in Australian Open