Numerical Investigation of the Seismic Performance of Medium-Rise Modular Structures