Replacement or reuse? The choice between demolition and life cycle extension from a sustainable viewpoint