Beer festival's pulling power serves up £18,000 for Ripon Cathedral