Ending abortion access would have damaging effect on economy, Yellen says