Essays on debt financing and financial distress