Molecular mechanics and dynamics simulation of poly (ethylene oxide) electrolytes