Comparison of Molecular and Ionic Compounds