Thailand's junta chief elected interim prime minister