Margin debt tops $1 trillion as leveraged funds fuel record binge