Solid-liquid behavior of vertically vibrated sand