Independent manipulation of heat and electrical current via bifunctional metamaterials