Application of direct non-linear regression from single TG curve to compounds undergoing simple and complex thermal decomposition