Graphene-based nonvolatile terahertz switch with asymmetric electrodes