Federal legislators embroiled in a financial or sex scandal receive much more money from donors and generally win re-election — if the scandal garners national media attention, research finds.