Pelosi defends NSA, booed by crowds