Minimum distances of three families of low-density parity-check codes based on finite geometries