Ductile response of composite steel and concrete frames