On cosine operator functions and one-parameter groups of operators