Essays on debt maturity and default