Ionic configurations in PEO based electrolytes endcapped by CH3-, OH- and SO3-groups