Free oscillations of drops and bubbles: the initial-value problem