ATR-FTIR and NMR spectroscopic studies on the structure of polymeric gel electrolytes for biomedical applications