Characteristics and formation of ionic bonds