Optimal control and synchronization of Lotka-Volterra model