Text this: Finite-size correction for slab supercell calculations of materials with spontaneous polarization