Thai king: punish corrupt officials who allowed logging