A Framework Based on Distributed Ledger Technologies for Data Management and Services in Intelligent Transportation Systems