generalization of properties of ionic compound and properties of covalent compounds​?