Lattice networks: capacity limits, optimal routing, and queueing behavior