Rising costs and slower-than-expected consumer demand have forced Boston Beer Co to cut its full-year profits forecast, despite half-year rises in both sales and profits.