The dipole moment of 18-crown-6: Molecular dynamics study of the structure and dynamics of the macrocycle in vacuo and in cyclohexane