The determinants of the accounting classification of convertible debt when managers have freedom of choice