Joint densities of first hitting times of a diffusion process through two time dependent boundaries