Search dogs will follow a scent for miles and even put their lives in danger looking for survivors of mudslides and building collapses. How do they do it, and why?