De Blasio appoints heads of four departments, including Brooklyn Navy Yard