Conversion of waste plastics into value-added carbon materials