Hilbert, Dirichlet and Fejér families of operators arising from C0-groups, cosine functions and holomorphic semigroups