Federer beat Milos Raonic in straight sets