Search for new particles decaying to ZZ using final states with leptons and jets with the ATLAS detector in proton–proton collisions