Top seed Roger Federer enjoyed a comfortable straight-sets win over German wildcard Cedrik-Marcel Stebe at the Gerry Weber Open in Halle.