Homeomorphisms of manifolds with zero-dimensional sets of nonwandering points