energy efficiency for wireless communication between nodes using NS-2