Some properties and generating functions of generalized harmonic numbers