Irish premier Leo Varadkar said he accepts the government has been defeated in its referenda to change the Constitution of Ireland.