Estimation of the optimum characteristics of the devices for seismic isolation of buildings