Abortion and same-sex marriage legalised in Northern Ireland