A shallow water equation as a geodesic flow on the Bott-Virasoro group