The French banking group reported strong revenue growth across all its business units but swung to a second-quarter net loss from its disposal of Russian assets.