A projection operator approach to a dissipative two-level system