Raheem Sterling scored a hat-trick as Manchester City beat West Ham 5-0 at the London Stadium to kick off their title defence of the Premier League.