Electrically controllable single-photon switch based on graphene.