Conformational structure of 1,2-dimethoxyethane in water and other dipolar solvents, studied by quantum chemical, reaction field, and statistical mechanical techniques