The Benefits and Risks of Yield Farming in DeFi