Constructive approximation to real function by wavelet neural networks