STITCH: Surface reconstrucTion using Implicit neural representations with Topology Constraints and persistent Homology