Myanmar president uses last hours to praise his reforms