Structural and textural changes from polyimide Kapton to graphite: Part II. Magnetoresistance and x-ray diffraction