Samsung Electronics: Profit rebounds after four consecutive quarters of decline in semiconductor business