Multiscale design of nonlinear materials using reduced-order modeling