how are covalent and ionic bonds similar and different?​