CoIR: A Comprehensive Benchmark for Code Information Retrieval Models