Semigroups of Operators on Hardy Spaces and Cocycles of Flows