Two-dimensional conformal invariant theories on a torus