Samsung profits beat estimates despite Note 7 global recall