Top-pair production at hadron colliders with next-to-next-to-leading logarithmic soft-gluon resummation