Proposing a three-phase model for predicting the mechanical properties of mortar and concrete