A predictive model of the effective tensile and compressive strengths of concrete considering porosity and pore size