Holomorphic generating functions for invariants counting coherent sheaves on Calabi-Yau 3-folds