Preparation and characterization of polymer composite and electrolytes for electrochemical device applications