Optimal Distributed Decision over Wireless Sensor Networks Affected by Multipath Fading