Unitary equivalence of one-parameter groups of Toeplitz and composition operators