Former Republican congressman from NY admitted two counts in federal case, ending a brief political career plagued by scandal.