Ireland is due to hold the world's first popular vote to decide whether to change the constitution to allow same-sex marriage.