Search for heavy resonances decaying into a W or Z boson and a Higgs boson in final states with leptons and b-jets in 36 fb−1 of s = 13 $$ \sqrts=13 $$ TeV pp collisions with the ATLAS detector