Beyonce’s hat fetches $27,500 at charity auction