Definition of general topological equivalence in protein structures