Ternary and tetrahedral symmetry in hybrid fluorides, fluoride carbonates and carbonates