Treatment of functional diarrhea