Backward doubly stochastic Volterra integral equations and their applications