US' Nancy Pelosi warns UK not to endanger Good Friday Agreement