Supreme Court rulings on same-sex marriage hailed as historic victory