Roger Federer has booked his place in the fourth round of the Australian Open courtesy of a straight-sets victory over Tomas Berdych.