Effect of cracking on water and chloride permeability of concrete