Dynamic Equilibrium Limit Order Book Model and Optimal Execution Problem