Joint Optimal Scheduling and Routing for Maximum Network Throughput