Optimal Transport and Equilibrium Problems in Mathematical Finance