Galaxy phones power Samsung to record $5.2 billion profit