Molecular recognition in nonaqueous solvents: sodium ion, potassium ion, and 18-crown-6 in methanol