Finite-time ruin problem for tempered stable processes