Raheem Sterling's double and a goal from Fernandinho help Manchester City beat West Ham to maintain their 100% start to the season.