Stanford researchers solve the mystery of the dancing droplets