Nucleation of vortices in superfluid 3He–B by thermal quench