On the neighborhood of a compact complex curve with topologically trivial normal bundle