Diabatic processes and their impact on extratropical dynamics and the hydrological cycle