Reconciling volcanic deformation, degassing and petrological data using thermodynamic models