is magnesium fluoride ionic or covalent