Magnetic charge and the charge quantization condition