Search for heavy resonances decaying to a W or Z boson and a Higgs boson in the qq¯(′)bb¯ final state in pp collisions at s=13 TeV with the ATLAS detector