Sign-changing solutions for nonlinear Schrödinger–Poisson systems with subquadratic or quadratic growth at infinity