From Sensor to Processing Networks: Optimal Estimation with Computation and Communication Latency