Stocks close lower ahead of Yellen speech