Samsung, the anti-Apple, posts a record operating profit and beats expectations