Greece on the brink of legalising same-sex marriage