Spintronics in graphene, silicene, and topological insulators