Tandem polymer solar cells: simulation and optimization through a multiscale scheme