Wolfsburg have completed a deal to sign Ivan Perisic from Bundesliga rivals Borussia Dortmund, pending a medical.