Instantons and vortices in two dimensions