Interpolation by vector-valued analytic functions, with applications to controllability