Modular functors, cohomological field theories, and topological recursion