Some families of generating functions associated with the Stirling numbers of the second kind