Marko Arnautovic scored his first West Ham goal to help them to victory over Chelsea in the Premier League.