Stocks cap best week since 1974 on Fed's plan to boost economy