Search for lepton-flavor violation at HERA