Photoelectric switch and triple-mode frequency modulator based on dual-PIT in the multilayer patterned graphene