Credit Risk in Corporate Securities and Derivatives Valuation and Optimal Capital Structure Choice