Effects of partial shear interaction, cracking and joint flexibility on the behaviour of composite frames