Pitch-based carbon fibers from coal tar or petroleum residue under the same processing condition