Cohomology of Operator Algebras and Quantum Dynamical Semigroups