what is the purpose of bucket hat​