Measurement of differential cross sections in Higgs boson decays to bosons using the ATLAS detector