writing the formula for compounds with transition metals