A Material-by-Design strategy for the design and optimization of multisurface-metamaterial polarizers