Comparison of mechanical properties of concrete and mortar