Trigonometric and hyperbolic systems on time scales