Evolution of static and dynamical density correlations of one-dimensional soft-core bosons from the Tonks-Girardeau limit to a clustering fluid