Borussia Dortmund have completed a deal to sign Hertha Berlin striker Adrian Ramos at the end of the season.