What the Supreme Court's ruling on same-sex marriage could mean