Likelihood-Ratio Propagation and Consensus in Wireless Networks with Markov Random Field Model