Exponential methods for solving hyperbolic problems with application to kinetic equations