Edge-cloud-blockchain integrated framework for agricultural product traceability: AI-driven anomaly detection and smart contract optimization | Synapse