Fed Chair Janet Yellen said Brexit concerns were a factor in the central bank's latest monetary policy decision.