Structural transition in cold-compressed glassy carbon