On Distributed Optimal Control of Traffic Flows in Transportation Networks