NYCHA agrees to federal court's supervision in apartment mold scandal