Manchester City have confirmed an agreement with Borussia Dortmund to sign striker Erling Haaland in the summer.