The phase diagram of approximation rates for deep neural networks