Maximum Energy Dissipation Algorithm for Seismic Response Reduction of Large-Scale Structures using MR Dampers