Myanmar parliament names junta's outgoing premier Thein Sein as country's new president.