Fine-structure resolved rotational transitions and database for CN+H2 collisions