Appeals court: Utah ruling allowing same-sex marriages stands