if barium ions have a charge of 2= nd hydroxide ions have a charge of 1-, the compound calcium is what?