Model complexities of shallow neural networks for the approximation of input-output mappings with large variations