Nancy Pelosi says Democrats will work with Republicans on new tax law after they win House