Graphene Photonic Devices for Terahertz and Mid-Infrared