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