Hydrodynamics of inertial confinement fusion: conventional hot spot and shock ignition