a hat protects you from the sun