Implicit-Explicit Runge-Kutta schemes and applications to hyperbolic systems with relaxation