Analytical approach to the current correlation function in dissipative two-state systems