InBev has reported a strong showing in its second quarter, despite "challenging conditions" in both the UK and US.