Default Risk, Homemade Leverage and the Modigliani-Miller Theorem