Leeds have agreed a deal to sign England international goalkeeper Jack Butland on loan from Stoke until the end of the season.