A cost-effective proposal for an RFID-based system for agri-food traceability