Clustering and sensing with decentralized detection in vehicular ad hoc networks