Ultimate strength of composite beams in combined bending and shear