Search for heavy ZZ resonances in the ℓ+ℓ-ℓ+ℓ-and ℓ+ℓ-final states using proton–proton collisions at √s=13 TeV with the ATLAS detector