Structure of laser-carbonized polymers