Sen. Jim DeMint resigns to head up conservative think tank