Samsung’s history tainted by run-ins with the law