Optimal Dynamic Proportional and Excess of Loss Reinsurance under Dependent Risks