Simulation of liquid jet primary breakup: Dynamics of ligament and droplet formation