Superfluid weight and polarization amplitude in the one-dimensional bosonic Hubbard model