Quantized circulation in dilute Bose–Einstein condensates