JOINT DENSITY FOR THE LOCAL TIMES OF CONTINUOUS-TIME MARKOV CHAINS: EXTENDED VERSION