Type Ia supernova progenitors and chemical enrichment in hydrodynamical simulations. I. The single-degenerate scenario