On the Maximal Throughput of Networks with Finite Buffers and its Application to Buffered Crossbars