Who was the first leader of the Second Polish Republic