Semigroups of operators, cosine operator functions, and linear differential equations