is potassium iodide ionic or covalent