The divisor class group of ordinary and symbolic blow-ups