On regularized polynomial functional regression