US Federal Reserve prepares to take over AIG