Forward-backward stochastic differential equations and applications to carbon emissions markets