Thermal conductivity of graphene polymorphs and compounds: From C3N to graphdiyne lattices