HSBC quarterly profits surge 32% amid cost cutting