SABIC turns to net profit in first nine months of 2021