If you're clearing out a flooded basement, here's how to stay safe and minimize damage to your home.