Daniil Medvedev claimed his third title in a row with victory over fellow Russian Andrey Rublev in the final of the ATP event in Dubai.