Oil firm Shell has revealed profits of 14 billion dollars (£10.9 billion) for the first half of the year after a stronger-than-expected second quarter.