Dichromatic state sum models and four-dimensional topological quantum field theories from pivotal functors