The iterative multiscale finite element method for sandwich beams and plates