The impact of hygiene practices on the transmission of diarrheal diseases