An empirical study on the determinants of the capital structure of Thai firms