when has ireland been an independent country?