Nick Pope has completed his £10m move to Newcastle from Burnley with the England goalkeeper signing a four-year contract.