Counting embedded curves in symplectic 6-manifolds