Searches for heavy ZZ and ZW resonances in the ℓℓqq and ννqq final states in pp collisions at sqrt(s) = 13 TeV with the ATLAS detector