EU court says same sex marriage should be recognised throughout bloc