Effects of energetic irradiation on materials and devices based on graphene and topological insulators