Boston Beer Company has seen a healthy rise in first-half profits and sales as spending on advertising and marketing helped see off competition in the craft beer market.