Topological degree method in functional boundary value problems