Parametrization of diabatic processes - the mass-flux approach and the IFS scheme