Dynamical density-density correlations in the one-dimensional Bose gas