A Dynamic Simulation Study on the Sustainability of Prefabricated Buildings