Federer wins on return to tennis