Inhibition of carbonic anhydrase isoforms I, II, IV, VII and XII with carboxylates and sulfonamides incorporating phthalimide/phthalic anhydride scaffolds.