What are the mechanisms of action/physiologic and biologic effects of drugs such as loperamide (Imodium) used to treat diarrhea.