Optimal control of linear and nonlinear asymmetric structures by means of passive energy dampers