Switching the electromagnetic properties of multicomponent porous carbon materials derived from bimetallic metal-organic frameworks: effect of composition.