Multifunctional composites: optimizing microstructures for simultaneous transport of heat and electricity.