Berry phase induced dimerization in one-dimensional quadrupolar systems