Conductance distribution of a quantum dot with nonideal single-channel leads