Thailand's King Bhumibol leaves hospital for palace by the sea