Which type of substance can conduct electricity in the liquid phase but not in the solid phase?

metallic element

molecular compound

nonmetallic element

ionic compound