Civil rights under threat as states plan assault on anti-discrimination laws