StanChart flags improved loan loss outlook after quarterly profit beats estimates