Nonlinear dynamics and synchronization in two mutually coupled vertical-cavity surface-emitting lasers