what is the formula for an ionic compound called