Optimal finite locally resonant metafoundations enhanced with nonlinear negative stiffness elements for seismic protection of large storage tanks