Deactivation Pathways of the Catalytic Activity of Metal-Organic Frameworks in Condensation Reactions