Synchronization and phased-locked oscillation: their connecting orbits and domains of attraction in a neural network with delay