Is calcium and bromine ionic or covalent