An efficient approach for trust management and cluster head selection in adverse mobile ad hoc networks