Deep Neural Networks are Adaptive to Function Regularity and Data Distribution in Approximation and Estimation (JMLR, 2026)