Dimension-independent rates for structured neural density estimation