HSBC&#8217;s profit boosted by cost-cutting and fewer fines