Airbus second-quarter profits rise and beat analyst forecasts