Samsung posts record 89.5 trillion won Q2 profit on AI memory chip demand