Constraints on anomalous HVV couplings from the production of Higgs bosons decaying to tau lepton pairs