Wireless Ad Hoc and Sensor Networks: Critical Transmission Ranges for Connectivity