New York City’s building department investigating structural collapse that killed worker