Dynamics of Formation of a Vapor Nanobubble Around a Heated Nanoparticle