Stop throwing your hats in the washer—here's how to clean them properly.