A cross-layer approach to decentralized detection in sensor networks with noisy communication links and multiple observations