The Impact of Channel Randomness on Coverage and Connectivity of Ad Hoc and Sensor Networks