Energy and Link-State Based Routing Protocol for MANET