Search for decays of the 125 GeV Higgs boson into a Z boson and a ρ or ϕ meson