Stimulating truth-telling and cooperation among nodes in VANETs through payment and punishment scheme