Search for anomalous weak dipole moments of the tau lepton