Approximation bounds for norm constrained neural networks with applications to regression and GANs