Text this: A digital rock physics approach to effective and total porosity for complex carbonates: pore-typing and applications to electrical conductivity