Stochastic macromodeling for hierarchical uncertainty quantification of nonlinear electronic systems