Spontaneous Formation of Quantized Vortices in Bose-Einstein Condensates