Enforcing Passivity of Macromodels via Spectral Perturbation of Hamiltonian Matrices