Theoretical and experimental analysis of the behaviour of cracked concrete under monotonic and cyclic shear loading