Chloride transfer in cement-based materials. Part 1. Theoretical basis and modelling