A Dual Method For Evaluation of Dynamic Risk in Diffusion Processes