Novak Djokovic has won the Australian Open for a ninth time after beating Daniil Medvedev in straight sets.