Approximation of RKHS Functionals by Neural Networks