Behaviour, analysis and design of composite beams and joints in buildings