Legal and immigrant groups protest ICE officers in Brooklyn courts