Federer wins Gerry Weber Open