Roger Federer beat Stefanos Tsitsipas in straight sets to win the Dubai Tennis Championships and seal his 100th career singles title.