Top US court gives boost to same-sex marriage