Investigation of a poly(oxyethylene) chain by a molecular dynamics simulation in an aqueous solution and by Langevin dynamics simulations