Secure Energy Transactions Using Blockchain Leveraging AI for Fraud Detection and Energy Market Stability