Explain the difference between latency and throughput.