Stacking sequence preference of pristine and hydrogen-terminated Si nanowires on Si(111) substrates