Vortex nucleation in superfluids