Search for heavy resonances decaying to a photon and a hadronically decaying Z/W/H boson in pp collisions at s = 13TeV with the ATLAS detector