Higgs decays to ZZ and Zγ in the standard model effective field theory: An NLO analysis [Higgs decays to ZZ and Zγ in the SMEFT: An NLO analysis]