Sagna signs three-year deal with Man City