Understanding Bonding Curves in DeFi: A Comprehensive Guide