Impact of Clustering on the BER Performance of Ad Hoc Wireless Networks