Solar wind speed and coronal flux-tube expansion