Jeff Gordon wins Sprint Cup race at Michigan