Manchester City have confirmed the signing of midfielder Jack Rodwell from Everton on a five-year deal.