On the controllability of infinite-dimensional linear systems