Synthesis and electrochemical studies of novel ionic liquid based electrolytes