CrossCodeBench: Benchmarking Cross-Task Generalization of Source Code Models