Inhomogeneous mechanical behaviour of concrete subjected to monotonic and cyclic loading