Ex-N.Y. state Senate leader gets prison in federal corruption case